import bus from '@common/components/common/bus';
import utils from '@common/utils/utils';
import echarts from 'echarts';
import moment from 'moment';
import {message} from '@common/assets/js/resetMessage';
// js常用函数库 //https://x-extends.gitee.io/xe-utils/#/
import XEUtils from 'xe-utils'

export default {
    install (Vue) {
        let globalVue = Vue.prototype || Vue.config.globalProperties;
        globalVue['$bus'] = bus;
        globalVue['$utils'] = utils;
        globalVue['$XEUtils'] = XEUtils;
        globalVue['$echarts'] = echarts;
        globalVue['$moment'] = moment;
        globalVue['$message'] = message;
    },
};
